package de.dehuegel;

public class S extends Tetramino {

	public S(Point2D point) {
		super(point);
	}

	@Override
	boolean[][] createNew(Alignment direction) {
		switch(direction){
		case DOWN:
			return new boolean[][]{{false,true,true},{true,true}};
		case LEFT:
			return new boolean[][]{{true},{true,true},{false,true}};
		case RIGHT:
			return new boolean[][]{{true},{true,true},{false,true}};
		case TOP:
			return new boolean[][]{{false,true,true},{true,true}};
		default:
			return null;
		}
	}

}
